package IC.AST.nodes;

import IC.AST.*;

/**
 * a class instance type
 */
public class ClassType extends Type {
	private String classID;	// the class name

	/**
	 * @param classID the class name
	 * @param line the node line number
	 * @param column the node column number
	 */
	public ClassType(String classID, int line, int column) {
		super(line,column);
		this.classID = classID;
	}

	/**
	 * @return the class name
	 */
	public String getClassID() {
		return this.classID;
	}

	public Object accept(Visitor v) {
		return v.visit(this);
	}
}
